package com.xyzh05.service.impl;

import java.util.List;

import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.xyzh05.dao.ServiceDao;
import com.xyzh05.model.Service;
import com.xyzh05.service.ServiceManager;

@org.springframework.stereotype.Service("serviceManager")
@WebService(serviceName = "ServiceService", endpointInterface = "com.xyzh05.service.ServiceManager")
public class ServiceManagerImpl extends GenericManagerImpl<Service, Long> implements ServiceManager {
    ServiceDao serviceDao;

    @Autowired
    public ServiceManagerImpl(ServiceDao serviceDao) {
        super(serviceDao);
        this.serviceDao = serviceDao;
    }

	public List<Service> getByEditor() {
		return serviceDao.getByEditor(); 
	}
}